home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / bsrc_250.arc / MKZTCDOS.ARC / MAKEFILE < prev   
Text File  |  1991-09-16  |  24KB  |  524 lines

  1. #--------------------------------------------------------------------------#
  2. #                                                                          #
  3. #                                                                          #
  4. #      ------------         Bit-Bucket Software, Co.                       #
  5. #      \ 10001101 /         Writers and Distributors of                    #
  6. #       \ 011110 /          Freely Available<tm> Software.                 #
  7. #        \ 1011 /                                                          #
  8. #         ------                                                           #
  9. #                                                                          #
  10. #  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. #
  11. #                                                                          #
  12. #                                                                          #
  13. #              Makefile for BinkleyTerm (Zortech MAKE version)             #
  14. #                                                                          #
  15. #                                                                          #
  16. #                       BinkleyTerm Licensing Terms                        #
  17. #                                                                          #
  18. #                                                                          #
  19. # (C) Copyright 1987-91 Bit Bucket Software Co., a Delaware Corporation.   #
  20. # ALL RIGHTS RESERVED. COMMERCIAL DISTRIBUTION AND/OR USE PROHIBITED       #
  21. # WITHOUT WRITTEN PERMISSION FROM BIT BUCKET SOFTWARE CO.                  #
  22. #                                                                          #
  23. # Non-Commercial distribution and/or use is permitted under the following  #
  24. # terms:                                                                   #
  25. #                                                                          #
  26. #                                                                          #
  27. # 1. You may copy and distribute verbatim copies of BinkleyTerm source,    #
  28. # documentation, and executable code as you receive it, in any medium,     #
  29. # provided that you conspicuously and appropriately publish on each copy a #
  30. # valid copyright notice "(C) Copyright 1987-91, Bit Bucket Software Co."; #
  31. # keep intact the notices on all files that refer to this License          #
  32. # Agreement and to the absence of any warranty;  PROVIDE UNMODIFIED COPIES #
  33. # OF THE DOCUMENTATION AS PROVIDED WITH THE PROGRAM; and give any other    #
  34. # recipients of the BinkleyTerm program a copy of this License Agreement   #
  35. # along with the program.  You may charge a distribution fee for the       #
  36. # physical act of transferring a copy, but no more than is necessary to    #
  37. # recover your actual costs incurred in the transfer. Under no             #
  38. # circumstances is BinkleyTerm to be distributed in such a way as to be    #
  39. # construed as "value added" in a sales transaction, such as, but not      #
  40. # limited to, software bundled with a modem or CD-ROM software             #
  41. # collections.                                                             #
  42. #                                                                          #
  43. # 2. You may modify your copy or copies of BinkleyTerm or any portion of   #
  44. # it, and copy and distribute such modifications under the terms of        #
  45. # Paragraph 1 above, provided that you also do the following:              #
  46. #                                                                          #
  47. #     a) cause the modified files to carry prominent notices stating       #
  48. #     that you changed the files and the date of any change;               #
  49. #                                                                          #
  50. #     b) cause the executable code of such modified version to clearly     #
  51. #     identify itself as such in the course of its normal operation;       #
  52. #                                                                          #
  53. #     c) if the modified version is not a "port", but operates in the      #
  54. #     same hardware and/or software environment as the original            #
  55. #     distribution, make the original version equally available,           #
  56. #     clearly identifying same as the original, unmodified version;        #
  57. #                                                                          #
  58. #     d) cause the whole of any work that you distribute or publish,       #
  59. #     that in whole or in part contains or is a derivative of              #
  60. #     BinkleyTerm or any part thereof, to be licensed at no charge to      #
  61. #     all third parties on terms identical to those contained in this      #
  62. #     License Agreement (except that you may choose to grant more          #
  63. #     extensive warranty protection to some or all third parties, at       #
  64. #     your option); and                                                    #
  65. #                                                                          #
  66. #     e) send the complete source code modifications to Bit Bucket         #
  67. #     Software Co. at one of the addresses listed below,  for the          #
  68. #     purpose of evaluation for inclusion in future releases of            #
  69. #     BinkleyTerm.  Should your source code be included in BinkleyTerm,    #
  70. #     Bit Bucket Software Co. retains all rights for redistribution of     #
  71. #     the code as part of BinkleyTerm and all derivative works, with       #
  72. #     appropriate credit given to the author of the modification.          #
  73. #                                                                          #
  74. #     f) You may charge a distribution fee for the physical act of         #
  75. #     transferring a copy, but no more than is necessary to recover        #
  76. #     your actual costs incurred in the transfer, and you may at your      #
  77. #     option offer warranty protection in exchange for a fee.              #
  78. #                                                                          #
  79. # 3. Mere aggregation of another unrelated program with this program and   #
  80. # documentation (or derivative works) on a volume of a storage or          #
  81. # distribution medium does not bring the other program under the scope of  #
  82. # these terms.                                                             #
  83. #                                                                          #
  84. # 4. You may copy and distribute BinkleyTerm and its associated            #
  85. # documentation (or a portion or derivative of it, under Paragraph 2) in   #
  86. # object code or executable form under the terms of Paragraphs 1 and 2     #
  87. # above provided that you also do one of the following:                    #
  88. #                                                                          #
  89. #     a) accompany it with the complete corresponding machine-readable     #
  90. #     source code, which must be distributed under the terms of            #
  91. #     Paragraphs 1 and 2 above; or,                                        #
  92. #                                                                          #
  93. #     b) accompany it with a written offer, valid for at least three       #
  94. #     years, to give any third party free (except for a nominal            #
  95. #     shipping charge) a complete machine-readable copy of the             #
  96. #     corresponding source code, to be distributed under the terms of      #
  97. #     Paragraphs 1 and 2 above; or,                                        #
  98. #                                                                          #
  99. #     c) accompany it with the information you received as to where        #
  100. #     the corresponding source code may be obtained.  (This                #
  101. #     alternative is allowed only for noncommercial distribution and       #
  102. #     only if you received the program in object code or executable        #
  103. #     form alone.)                                                         #
  104. #                                                                          #
  105. # For an executable file, complete source code means all the source code   #
  106. # for all modules it contains; but, as a special exception, it need not    #
  107. # include source code for modules which are standard libraries that        #
  108. # accompany the operating system on which the executable file runs.        #
  109. #                                                                          #
  110. # 5. You may not copy, sublicense, distribute or transfer BinkleyTerm and  #
  111. # its associated documentation  except as expressly provided under this    #
  112. # License Agreement.  Any attempt otherwise to copy, sublicense,           #
  113. # distribute or transfer BinkleyTerm is void and your rights to use the    #
  114. # program under this License agreement shall be automatically terminated.  #
  115. # However, parties who have received computer software programs from you   #
  116. # with this License Agreement will not have their licenses terminated so   #
  117. # long as such parties remain in full compliance, and notify Bit Bucket    #
  118. # Software Co. of their intention to comply with this Agreement.           #
  119. #                                                                          #
  120. # 6. If you wish to incorporate parts of BinkleyTerm into other free       #
  121. # programs whose distribution conditions are different, please contact     #
  122. # Bit Bucket Software Co. at one of the addresses listed below.  We have   #
  123. # not yet worked out a simple rule that can be stated here, but we will    #
  124. # usually permit this.  We will be guided by the two goals of preserving   #
  125. # the free status of all derivatives of our free software (as it pertains  #
  126. # to Non-Commercial use as provided by this Agreement) and of promoting    #
  127. # the sharing and reuse of software.                                       #
  128. #                                                                          #
  129. # 7. For the purposes of this document, "COMMERCIAL USE" is defined as     #
  130. # operation of the software on four or more computers or data lines owned  #
  131. # by the same for-profit organization. Any organization may operate this   #
  132. # software under the terms of this Non-Commercial Agreement if operation   #
  133. # is limited to three or less computers or data lines.                     #
  134. #                                                                          #
  135. #                                                                          #
  136. #                                NO WARRANTY                               #
  137. #                                                                          #
  138. # BECAUSE BINKLEYTERM IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO #
  139. # WARRANTY.  EXCEPT WHEN OTHERWISE STATED IN WRITING, BIT BUCKET SOFTWARE  #
  140. # CO. AND/OR OTHER PARTIES PROVIDE BINKLEYTERM "AS IS" WITHOUT WARRANTY OF #
  141. # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,    #
  142. # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR   #
  143. # PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF           #
  144. # BINKLEYTERM, AND THE ACCURACY OF ITS ASSOCIATED DOCUMENTATION, IS WITH   #
  145. # YOU.  SHOULD BINKLEYTERM OR ITS ASSOCIATED DOCUMENTATION PROVE           #
  146. # DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR     #
  147. # CORRECTION.                                                              #
  148. #                                                                          #
  149. # IN NO EVENT WILL BIT BUCKET SOFTWARE CO. BE RESPONSIBLE IN ANY WAY FOR   #
  150. # THE BEHAVIOR OF MODIFIED VERSIONS OF BINKLEYTERM. IN NO EVENT WILL       #
  151. # BIT BUCKET SOFTWARE CO. AND/OR ANY OTHER PARTY WHO MAY MODIFY AND        #
  152. # REDISTRIBUTE BINKLEYTERM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR        #
  153. # DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR OTHER SPECIAL,      #
  154. # INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY  #
  155. # TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED #
  156. # INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A FAILURE OF THE      #
  157. # PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) BINKLEYTERM, EVEN IF YOU     #
  158. # HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM   #
  159. # BY ANY OTHER PARTY.                                                      #
  160. #                                                                          #
  161. #                                                                          #
  162. # You can contact Bit Bucket Software Co. at any one of the following      #
  163. # addresses:                                                               #
  164. #                                                                          #
  165. # Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             #
  166. # P.O. Box 460398                AlterNet 7:491/0                          #
  167. # Aurora, CO 80046               BBS-Net  86:2030/1                        #
  168. #                                Internet f491.n343.z1.fidonet.org         #
  169. #                                                                          #
  170. #                                                                          #
  171. # Please feel free to contact us at any time to share your comments about  #
  172. # our software and/or licensing policies.                                  #
  173. #                                                                          #
  174. # Our thanks to Richard Stallman and the Free Software Foundation, Inc.,   #
  175. # for most of the wording of this License.                                 #
  176. #                                                                          #
  177. #--------------------------------------------------------------------------#
  178.  
  179. #
  180. # Definitions
  181. #
  182.  
  183. PROJ = BINKLEY
  184. PROJFILE = MAKEFILE
  185.  
  186. SRC_DIR  = ..\src
  187. INCL_DIR = ..\include
  188.  
  189. DEF_H1= $(INCL_DIR)\com.h $(INCL_DIR)\com_dos.h $(INCL_DIR)\xfer.h 
  190. DEF_H2= $(INCL_DIR)\bink.h $(INCL_DIR)\zmodem.h $(INCL_DIR)\keybd.h
  191. DEF_H3= $(INCL_DIR)\sbuf.h $(INCL_DIR)\sched.h $(INCL_DIR)\externs.h 
  192. DEF_H4= $(INCL_DIR)\includes.h $(INCL_DIR)\prototyp.h $(INCL_DIR)\msgs.h
  193. DEF_H5= $(INCL_DIR)\keyfncs.h
  194.  
  195. DEFAULT_H = $(DEF_H1) $(DEF_H2) $(DEF_H3) $(DEF_H4) $(DEF_H5)
  196.  
  197. CC  = ztc
  198. ASM = masm
  199.  
  200. LINKER = blink
  201.  
  202. #
  203. # Default C Compiler flags: 
  204. # Compile only, Large Model,
  205. # Optimize for size, No stack checking,
  206. # Pack structures, Include symbols, Maximum Warning Level
  207. #
  208. # Zortech is great at enforcing prototypes. When you turn on the -r
  209. # flag for the compiler, we are completely clean except for the
  210. # state-machine modules (including statetbl itself). We need -p to
  211. # make those compile.
  212. #
  213. #
  214. # The following is for Zortech C++ 3.0
  215. CFLAGS = -c -mvi -o+space -p -R -a1 -g -w- -I$(INCL_DIR)
  216.  
  217. #
  218. # Object files that ZTC++ 3.0 is responsible for generating:
  219. #
  220.  
  221. # First those for the main BinkleyTerm module
  222. #
  223. COBJS = bt.obj       btconfig.obj langload.obj timer.obj    misc.obj     \
  224.         b_help.obj   file_dos.obj dosfuncs.obj mdm_proc.obj b_script.obj \
  225.         keymap.obj   b_fuser.obj  nodeproc.obj version7.obj b_today.obj  \
  226.     b_proto.obj  b_bbs.obj    b_search.obj b_sessio.obj recvbark.obj \
  227.     yoohoo.obj   b_wazoo.obj  b_wzsend.obj ftsc.obj     mailer.obj   \
  228.     sendbark.obj sched.obj    fossil.obj   b_passwo.obj b_frproc.obj \
  229.     zreceive.obj zsend.obj    zmisc.obj    sendsync.obj recvsync.obj \
  230.         data.obj     vfossil.obj  b_termov.obj b_banner.obj b_initva.obj \
  231.         b_sbinit.obj b_flofil.obj mailovly.obj evtparse.obj b_whack.obj  \
  232.     sb_box.obj   sb_fill.obj  sb_init.obj  sb_move.obj  sb_new.obj   \
  233.     sb_put.obj   sb_read.obj  sb_scrl.obj  sb_show.obj  sb_write.obj \
  234.     sb_popup.obj sb_save.obj  b_spawn.obj  b_rspfil.obj b_term.obj   \
  235.     xmsend.obj   m7send.obj   bsend.obj    brec.obj     xmrec.obj    \
  236.     m7rec.obj    janus.obj    statetbl.obj outbound.obj overlay.obj  \
  237.         mailroot.obj upload.obj   download.obj
  238.  
  239. # Next those for BTCTL, the program that makes a dummy OMMM CTL file
  240. #
  241. COBJC = btctl.obj
  242.  
  243. # Then those for BTLNG, Bink's language compiler
  244. COBJL = btlng.obj get_lang.obj put_lang.obj
  245.  
  246. #
  247. # Object files that MASM (4.0, 5.0 or 5.1) is responsible for generating
  248. #
  249. MOBJS = spawn.obj bink_asm.obj
  250.  
  251. #
  252. # Dependency list for regular and debug version, and LINK
  253. # command lines
  254. #
  255.  
  256. all:    english.bxt bt.exe btctl.exe btlng.exe
  257.     echo Built ALL > all
  258.  
  259. bt.exe: $(COBJS) $(MOBJS) bt.lnk
  260.     $(LINKER) @bt.lnk
  261.  
  262. english.bxt : btlng.exe $(SRC_DIR)\english.txt
  263.     btlng $(SRC_DIR)\english.txt english.bxt
  264.  
  265. btctl.exe: $(COBJC)
  266.     blink $*, $*,$*/M;
  267.  
  268. btlng.exe: $(COBJL)
  269.     blink btlng+get_lang+put_lang, $*,$*/M;
  270. #
  271. # Dependencies for .C files and compiler line to generate 'em.
  272. #
  273. bt.obj: $(DEFAULT_H) $(SRC_DIR)\bt.c
  274.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  275.  
  276. btconfig.obj: $(DEFAULT_H) $(SRC_DIR)\btconfig.c
  277.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  278.  
  279. langload.obj: $(DEFAULT_H) $(SRC_DIR)\langload.c
  280.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  281.  
  282. timer.obj: $(DEFAULT_H) $(SRC_DIR)\timer.c
  283.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  284.  
  285. misc.obj: $(DEFAULT_H) $(SRC_DIR)\misc.c
  286.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  287.  
  288. b_help.obj: $(DEFAULT_H) $(SRC_DIR)\b_help.c
  289.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  290.  
  291. file_dos.obj: $(DEFAULT_H) $(SRC_DIR)\file_dos.c
  292.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  293.  
  294. dosfuncs.obj: $(DEFAULT_H) $(SRC_DIR)\dosfuncs.c
  295.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  296.  
  297. mdm_proc.obj: $(DEFAULT_H) $(SRC_DIR)\mdm_proc.c
  298.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  299.  
  300. b_script.obj: $(DEFAULT_H) $(SRC_DIR)\b_script.c
  301.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  302.  
  303. keymap.obj: $(DEFAULT_H) $(SRC_DIR)\keymap.c
  304.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  305.  
  306. b_fuser.obj: $(DEFAULT_H) $(SRC_DIR)\b_fuser.c
  307.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  308.  
  309. nodeproc.obj: $(DEFAULT_H) $(SRC_DIR)\nodeproc.c
  310.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  311.  
  312. version7.obj: $(DEFAULT_H) $(SRC_DIR)\version7.c
  313.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  314.  
  315. b_today.obj: $(DEFAULT_H) $(SRC_DIR)\b_today.c
  316.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  317.  
  318. b_proto.obj: $(DEFAULT_H) $(SRC_DIR)\b_proto.c
  319.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  320.  
  321. b_bbs.obj: $(DEFAULT_H) $(SRC_DIR)\b_bbs.c
  322.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  323.  
  324. b_search.obj: $(DEFAULT_H) $(SRC_DIR)\b_search.c
  325.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  326.  
  327. b_sessio.obj: $(DEFAULT_H) $(SRC_DIR)\b_sessio.c
  328.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  329.  
  330. recvbark.obj: $(DEFAULT_H) $(SRC_DIR)\recvbark.c
  331.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  332.  
  333. yoohoo.obj: $(DEFAULT_H) $(SRC_DIR)\yoohoo.c
  334.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  335.  
  336. b_wazoo.obj: $(DEFAULT_H) $(SRC_DIR)\b_wazoo.c
  337.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  338.  
  339. b_wzsend.obj: $(DEFAULT_H) $(SRC_DIR)\b_wzsend.c
  340.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  341.  
  342. ftsc.obj: $(DEFAULT_H) $(SRC_DIR)\ftsc.c
  343.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  344.  
  345. mailer.obj: $(DEFAULT_H) $(SRC_DIR)\mailer.c
  346.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  347.  
  348. sendbark.obj: $(DEFAULT_H) $(SRC_DIR)\sendbark.c
  349.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  350.  
  351. sched.obj: $(DEFAULT_H) $(SRC_DIR)\sched.c
  352.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  353.  
  354. fossil.obj: $(DEFAULT_H) $(SRC_DIR)\fossil.c
  355.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  356.  
  357. b_passwo.obj: $(DEFAULT_H) $(SRC_DIR)\b_passwo.c
  358.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  359.  
  360. b_frproc.obj: $(DEFAULT_H) $(SRC_DIR)\b_frproc.c
  361.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  362.  
  363. zreceive.obj: $(DEFAULT_H) $(SRC_DIR)\zreceive.c
  364.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  365.  
  366. zsend.obj: $(DEFAULT_H) $(SRC_DIR)\zsend.c
  367.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  368.  
  369. zmisc.obj: $(DEFAULT_H) $(SRC_DIR)\zmisc.c
  370.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  371.  
  372. sendsync.obj: $(DEFAULT_H) $(SRC_DIR)\sendsync.c
  373.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  374.  
  375. recvsync.obj: $(DEFAULT_H) $(SRC_DIR)\recvsync.c
  376.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  377.  
  378. data.obj: $(DEFAULT_H) $(SRC_DIR)\data.c
  379.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  380.  
  381. vfossil.obj: $(DEFAULT_H) $(SRC_DIR)\vfossil.c
  382.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  383.  
  384. b_termov.obj: $(DEFAULT_H) $(SRC_DIR)\b_termov.c
  385.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  386.  
  387. b_banner.obj: $(DEFAULT_H) $(SRC_DIR)\b_banner.c
  388.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  389.  
  390. b_initva.obj: $(DEFAULT_H) $(SRC_DIR)\b_initva.c
  391.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  392.  
  393. b_sbinit.obj: $(DEFAULT_H) $(SRC_DIR)\b_sbinit.c
  394.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  395.  
  396. b_flofil.obj: $(DEFAULT_H) $(SRC_DIR)\b_flofil.c
  397.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  398.  
  399. mailovly.obj: $(DEFAULT_H) $(SRC_DIR)\mailovly.c
  400.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  401.  
  402. evtparse.obj: $(DEFAULT_H) $(SRC_DIR)\evtparse.c
  403.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  404.  
  405. b_whack.obj: $(DEFAULT_H) $(SRC_DIR)\b_whack.c
  406.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  407.  
  408. sb_box.obj: $(DEFAULT_H) $(SRC_DIR)\sb_box.c
  409.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  410.  
  411. sb_fill.obj: $(DEFAULT_H) $(SRC_DIR)\sb_fill.c
  412.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  413.  
  414. sb_init.obj: $(DEFAULT_H) $(SRC_DIR)\sb_init.c
  415.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  416.  
  417. sb_move.obj: $(DEFAULT_H) $(SRC_DIR)\sb_move.c
  418.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  419.  
  420. sb_new.obj: $(DEFAULT_H) $(SRC_DIR)\sb_new.c
  421.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  422.  
  423. sb_put.obj: $(DEFAULT_H) $(SRC_DIR)\sb_put.c
  424.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  425.  
  426. sb_read.obj: $(DEFAULT_H) $(SRC_DIR)\sb_read.c
  427.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  428.  
  429. sb_scrl.obj: $(DEFAULT_H) $(SRC_DIR)\sb_scrl.c
  430.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  431.  
  432. sb_show.obj: $(DEFAULT_H) $(SRC_DIR)\sb_show.c
  433.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  434.  
  435. sb_write.obj: $(DEFAULT_H) $(SRC_DIR)\sb_write.c
  436.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  437.  
  438. sb_popup.obj: $(DEFAULT_H) $(SRC_DIR)\sb_popup.c
  439.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  440.  
  441. sb_save.obj: $(DEFAULT_H) $(SRC_DIR)\sb_save.c
  442.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  443.  
  444. b_spawn.obj: $(DEFAULT_H) $(SRC_DIR)\b_spawn.c
  445.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  446.  
  447. b_rspfil.obj: $(DEFAULT_H) $(SRC_DIR)\b_rspfil.c
  448.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  449.  
  450. b_term.obj: $(DEFAULT_H) $(SRC_DIR)\b_term.c
  451.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  452.  
  453. xmsend.obj: $(DEFAULT_H) $(SRC_DIR)\xmsend.c
  454.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  455.  
  456. m7send.obj: $(DEFAULT_H) $(SRC_DIR)\m7send.c
  457.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  458.  
  459. bsend.obj: $(DEFAULT_H) $(SRC_DIR)\bsend.c
  460.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  461.  
  462. brec.obj: $(DEFAULT_H) $(SRC_DIR)\brec.c
  463.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  464.  
  465. xmrec.obj: $(DEFAULT_H) $(SRC_DIR)\xmrec.c
  466.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  467.  
  468. m7rec.obj: $(DEFAULT_H) $(SRC_DIR)\m7rec.c
  469.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  470.  
  471. janus.obj: $(DEFAULT_H) $(SRC_DIR)\janus.c
  472.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  473.  
  474. statetbl.obj: $(DEFAULT_H) $(SRC_DIR)\statetbl.c
  475.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  476.  
  477. outbound.obj: $(DEFAULT_H) $(SRC_DIR)\outbound.c
  478.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  479.  
  480. overlay.obj: $(DEFAULT_H) $(SRC_DIR)\overlay.c
  481.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  482.  
  483. mailroot.obj: $(DEFAULT_H) $(SRC_DIR)\mailroot.c
  484.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  485.  
  486. langload.obj: $(DEFAULT_H) $(SRC_DIR)\langload.c
  487.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  488.  
  489. upload.obj: $(DEFAULT_H) $(SRC_DIR)\upload.c
  490.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  491.  
  492. download.obj: $(DEFAULT_H) $(SRC_DIR)\download.c
  493.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  494. #
  495. # Modules with special includes here
  496. #
  497. btctl.obj : $(SRC_DIR)\btctl.c
  498.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  499.  
  500. btlng.obj : $(INCL_DIR)\language.h $(SRC_DIR)\btlng.c
  501.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  502.  
  503. get_lang.obj : $(INCL_DIR)\language.h $(SRC_DIR)\get_lang.c
  504.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  505.  
  506. put_lang.obj : $(INCL_DIR)\language.h $(SRC_DIR)\put_lang.c
  507.     $(CC) $(CFLAGS) $(SRC_DIR)\$*.c
  508.  
  509. #
  510. # Dependencies for .ASM files and compiler line to generate 'em.
  511. #
  512. # Important point: for MASM 4.0, leave out the -Zi switch.
  513. #
  514. # For MASM 4.0, leave out the -Zi switch.
  515. # For TASM 1.0, use /zi instead of -Zi
  516. #
  517.  
  518. spawn.obj : $(SRC_DIR)\spawn.asm
  519.     $(ASM) -Zi -DMODL=LARGE $(SRC_DIR)\$*;
  520.  
  521. bink_asm.obj : $(SRC_DIR)\bink_asm.asm
  522.     $(ASM) -Zi $(SRC_DIR)\$*;
  523.  
  524.